<%@ Page EnableEventValidation="false" EnableViewState="false" Language="vb" AutoEventWireup="false" CodeFile="speaker.aspx.vb" Inherits="pages_Speakers_Speaker"
    MasterPageFile="~/pages/default.master"
    Title="Add or Change a Speaker."
    ValidateRequest="False"
%>
<asp:Content ID=t runat=server ContentPlaceHolderID=above>
    <div>
        <asp:DropDownList ID=ddSpeakers runat=server DataTextField="SpeakerName" DataValueField="SpeakerId" AutoPostBack=true />
    </div>
</asp:Content>

<asp:Content ID="c" ContentPlaceHolderID="body" runat="server">
    <uc:FormBegin ID="fb" runat="server" />
        <uc:Textbox  ID="lnkProducts" runat="server" Required="false" Label="Products" Mode=Locked />
        <uc:Textbox  ID="txtSpeakerName" runat="server" Required="true" Label="Name" />
        <uc:Textbox  ID="txtSpeakerWebsite" runat="server" Required="false" Label="Website" />
        <uc:Textbox  ID="txtSpeakerContactPhone" runat="server" Required="false" Label="Amazon Referral Link"  />
        <uc:Textbox  ID="txtSpeakerContactEmail" runat="server" Required="false" Label="Contact Email"  />
        <uc:FileUpload ID="imgSpeakerImage" runat="server" Required="false" Label="Sermons Image"/>
        <uc:FormButtonsBegin ID="fbb" runat="server" />
            <asp:button id="btnSave"    runat="server" text="Update" causesvalidation="True"  />
            <asp:button id="btnDelete"  runat="server" text="Delete" causesvalidation="False" OnClientClick="return confirm('Delete this Speaker?')" />
            <asp:button id="btnCancel"  runat="server" text="Cancel" causesvalidation="False" />
        <uc:FormButtonsEnd   ID="fbe" runat="server" />
        <uc:Textarea  ID="txtSpeakerAbout" runat="server" Required="false" Label="About Text" Width=750 Height=350px />
    <uc:FormEnd ID="fe" runat="server" />
    
    <asp:ValidationSummary ID="vs" runat="server" ShowSummary="true" EnableClientScript="true" DisplayMode="BulletList" />
</asp:Content>
